cmake_minimum_required(VERSION 3.1)

project(usb-can-v2)

add_library(usb-can-v2 SHARED usb_can_v2.cc)

target_include_directories(usb-can-v2 PRIVATE . 3rdparty/libusb)

target_link_libraries(usb-can-v2
    PRIVATE 
    ${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/libusb/libusb-1.0.so
)